package com.zyd.blog.homeart.service;

import com.github.pagehelper.PageInfo;
import com.zyd.blog.business.entity.Role;
import com.zyd.blog.framework.object.PageResult;
import com.zyd.blog.persistence.beans.SoftProduct;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author liusongqi
 * @since 2020-03-17
 */
@Service
public interface BackstageSoftProductService {
    PageResult softBackstage(int page, int count);

    Integer insertSoft(SoftProduct softProduct,String list);

    Integer editSoft(SoftProduct softProduct,String list,String id);

    Integer deleteSoft(String softId) throws Exception;

    Map<String,Object>  searchDesign(String value,int page,int count);
    Map<String,Object> specific(String designId) throws Exception;
    SoftProduct get(String id);

    Integer hide(String id,String commentId,String content);
}
